package com.lxl.sever1.client;




/**
 * @Author: luoxianliang
 * @Email: 1322342586@qq.com
 * @CreateTime: 2025-08-15
 * @Description: 服务发现client
 * @Version: 1.0
 * @OtherInfo:
 */
/*@Component
@RequiredArgsConstructor
public class DiscoveryClient {
    private final org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient;
    public void discovery() {
        List<ServiceInstance> sever1 = discoveryClient.getInstances("sever1");
        for (ServiceInstance serviceInstance : sever1) {
            System.out.println("serviceInstance = " + serviceInstance);
        }
    }
}*/
